package com.whu.MenuHub.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whu.MenuHub.domain.UserFlavor;
import com.whu.MenuHub.exception.MenuHubException;

public interface UserFlavorService extends IService<UserFlavor> {
    public UserFlavor getfalvorByUserID(Integer id);
    public UserFlavor insertUserFalvor(UserFlavor userFlavor) throws MenuHubException;

    public void updateuserFlavor(UserFlavor userFlavor) throws MenuHubException;
    public void deleteUserFlavorById(Integer id) throws MenuHubException;
}
